﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;

namespace Com.Toook.Common
{
    /// <summary>
    ///MovieObject 的摘要说明
    /// </summary>
    public class MovieObject
    {
        public MovieObject()
        {
        }
        public int Id;
        public string Title;
        public string Url;
        public string Img;
        public string Content;
        public string Actor;
        public string Area
        {
            get
            {
                return area;
            }
            set
            {
                area = string.IsNullOrEmpty(value) ? "未知" : PageData.GetArea(value);
            }
        }
        public int Year;
        public string MovieType
        {
            get
            {
                return movieType;
            }
            set
            {
                movieType = string.IsNullOrEmpty(value) ? "电影" : PageData.GetMovieTypeName(value);
            }
        }
        public string Director;
        public int Score;
        public int ClickCount;
        public int LikeCount;

        private string area;
        private string movieType;
    }
}